package it.fuesi.synoutils.model.info;

import it.fuesi.synoutils.model.base.IModel;

/**
 * Created by pascotto on 12/11/14.
 */
public class Volume implements IModel {

    private String id;
    private String status;
    private double total;
    private double used;
    private double free;

    public void calculateFree(){
        free = total - used;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public double getTotal() {
        return total;
    }

    public void setTotal(double total) {
        this.total = total;
    }

    public double getUsed() {
        return used;
    }

    public void setUsed(double used) {
        this.used = used;
    }

    public double getFree() {
        return free;
    }

    public void setFree(double free) {
        this.free = free;
    }
}
